home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / cmds.fmt / vi.man < prev    next >
Encoding:
Text File  |  1989-08-08  |  4.3 KB  |  133 lines

  1.  
  2.  
  3.  
  4. VI                        User Commands                        VI
  5.  
  6.  
  7.  
  8. NNAAMMEE
  9.      vi, view - visual display editor based on ex(1)
  10.  
  11. SSYYNNOOPPSSIISS
  12.      vvii [ --llrrRRxx ] [ --tt _t_a_g ] [ --ww_n_n_n ] [ ++_c_o_m_m_a_n_d ] _f_i_l_e_n_a_m_e...
  13.  
  14.      vviieeww...
  15.  
  16. DDEESSCCRRIIPPTTIIOONN
  17.      vvii (visual) is a display oriented text editor based on
  18.      eexx(1).  eexx and vvii are, in fact, the same text editor; it is
  19.      possible to get to the command mode of eexx from within vvii and
  20.      vice-versa.
  21.  
  22.      The vviieeww command runs vvii with the rreeaaddoonnllyy variable set.
  23.      With vviieeww, you can browse through files interactively
  24.      without making any changes.
  25.  
  26. OOPPTTIIOONNSS
  27.      --ll   Set up for editing LISP programs.
  28.  
  29.      --rr   Recover the named files after a crash.
  30.  
  31.      --RR   Edit files in read only state.  This has the same
  32.           effect as the vviieeww command.
  33.  
  34.      --xx   Prompt for a key with which to encrypt the file or
  35.           files being edited.
  36.  
  37.      --tt _t_a_g
  38.           Edit the file containing _t_a_g.  There must be a tags
  39.           database in the directory, built by ccttaaggss(1), that con-
  40.           tains a reference to _t_a_g.
  41.  
  42.      ++_c_o_m_m_a_n_d
  43.           Start the editing session by executing _c_o_m_m_a_n_d.
  44.  
  45.      ++_c_o_m_m_a_n_d
  46.           Start the editing session by executing _c_o_m_m_a_n_d.
  47.  
  48. EENNVVIIRROONNMMEENNTT
  49.      The editor recognizes the environment variable as a command
  50.      (or list of commands separated by || characters) to run when
  51.      it starts up.  If this variable is undefined, the editor
  52.      checks for startup commands in the file ~~//..eexxrrcc file, which
  53.      you must own.  However, if there is a ..eexxrrcc owned by you in
  54.      the current directory, the editor takes its startup commands
  55.      from this file - overriding both the file in your home
  56.      directory and the environment variable.
  57.  
  58. FFIILLEESS
  59.      ccttaaggss(1), eexx(1)
  60.  
  61.  
  62.  
  63. Sprite v1.0             22 December 1987                        1
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. VI                        User Commands                        VI
  71.  
  72.  
  73.  
  74. BBUUGGSS
  75.      Software TAB characters using CTRL-T work only immediately
  76.      after the aauuttooiinnddeenntt.
  77.  
  78.      SHIFT-left and SHIFT-right on intelligent terminals do not
  79.      make use of insert and delete character operations in the
  80.      terminal.
  81.  
  82.      The wwrraappmmaarrggiinn option can be fooled since it looks at output
  83.      columns when blanks are typed.  If a long word passes
  84.      through the margin and onto the next line without a break,
  85.      then the line will not be broken.
  86.  
  87.      Repeating a change which wraps over the margin when wwrraappmmaarr--
  88.      ggiinn is in effect does not generally work well: sometimes it
  89.      just makes a mess of the change, and sometimes even leaves
  90.      you in insert mode.  A way to work around the problem is to
  91.      replicate the changes using yy (yank) and pp (put).
  92.  
  93.      Insert/delete within a line can be slow if TAB characters
  94.      are present on intelligent terminals, since the terminals
  95.      need help in doing this correctly.
  96.  
  97.      Saving text on deletes in the named buffers is somewhat
  98.      inefficient.
  99.  
  100.      The _s_o_u_r_c_e command does not work when executed as `::ssoouurrccee';
  101.      there is no way to use the `::aappppeenndd', `::cchhaannggee', and
  102.      `::iinnsseerrtt' commands, since it is not possible to give more
  103.      than one line of input to a `::' escape.  To use these on a
  104.      `::gglloobbaall' you must QQ to _e_x command mode, execute them, and
  105.      then reenter the screen editor with vvii or ooppeenn.
  106.  
  107.      When using the --rr option to recover a file, you must write
  108.      the recovered text before quitting or you will lose it.  vvii
  109.      does not prevent you from exiting without writing unless you
  110.      make changes.
  111.  
  112.      vvii does not adjust when the SunView window in which it runs
  113.      is resized.
  114.  
  115. RREESSTTRRIICCTTIIOONNSS
  116.      The encryption facilities of vvii are not available on
  117.      software shipped outside the U.S.
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129. Sprite v1.0             22 December 1987                        2
  130.  
  131.  
  132.  
  133.